package com.yc.jpyy.news.service;

import java.sql.Date;
import java.util.List;
import java.util.Map;


import org.springframework.dao.DataAccessException;

import com.yc.jpyy.base.bean.RestResponse;
import com.yc.jpyy.base.util.PageBean;

public interface NewsService {

	int addNewsService(Map<String, Object> paramsMap) throws DataAccessException;

	int updateNewsService(Map<String, Object> paramsMap) throws DataAccessException;

	
	int delNewsService(Map<String, Object> paramsMap) throws DataAccessException;

	Map<String, Object> findNewsByIDServer(Map<String, Object> paramsMap) throws DataAccessException;
	
	//分页查询
    PageBean findNewsService(Map<String, Object> paramsMap)throws DataAccessException;
    //查询总数
    int findCountNewsService(Map<String, Object> paramsMap)throws DataAccessException;

    List<Map<String,Object>> findNewByCount(Map<String, Object> paramsMap)throws DataAccessException;
    
    int updateNewsByStatusService(Map<String, Object> paramsMap) throws DataAccessException;
    
    
}